<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ticket_serial
 *
 * @author duongbq
 */
class Ticket_Serial_Model extends CI_Model {

    //put your code here
    function __construct() {
        parent::__construct();
    }

    public function add_ticket_serial($data = array()) {
        $this->db->insert('ticket_serial', $data);
        return $this->db->insert_id();
    }

}

